Semiconductor device and method for manufacturing the same

ABSTRACT

A semiconductor device includes a first source/drain feature adjoining first nanostructures, and a first multilayer work function structure surrounding the first nanostructures. The first multilayer work function structure includes a first middle dielectric layer around the first nanostructures and a first metal layer around and in contact with the first middle dielectric layer. The semiconductor device also includes a second source/drain feature adjoining second nanostructures, and a second multilayer work function structure surrounding the second nanostructures. The second multilayer work function structure includes a second middle dielectric layer around the second nanostructures and a second metal layer around and in contact with the second middle dielectric layer. The first middle dielectric layer and the second middle dielectric layer are made of dielectric materials. The second metal layer and the first metal layer are made of the same metal material.

RELATED APPLICATIONS

The present application is a continuation application of U.S. application Ser. No. 16/234,916, filed Dec. 28, 2018, which is a continuation application of U.S. application Ser. No. 15/632,449, filed Jun. 26, 2017, now U.S. Pat. No. 10,170,374, issued Jan. 1, 2019, which claims priority to U.S. Provisional Application Ser. No. 62/475,341, filed Mar. 23, 2017, all of which are incorporated herein by reference in their entirety.

BACKGROUND

Complementary metal oxide semiconductor (CMOS) technology, formed by establishing an n-type field effect transistor and a p-type field effect transistor on a semiconductor device, is used in the IC manufacture. Technological advances in IC materials and design have produced generations of ICs where each generation has smaller and more complex circuits than the previous generation. As a result, the n-type field effect transistor and the p-type field effect transistor on the semiconductor device are scaled down as well.

BRIEF DESCRIPTION OF THE DRAWINGS

Aspects of the present disclosure are best understood from the following detailed description when read with the accompanying figures. It is noted that, in accordance with the standard practice in the industry, various features are not drawn to scale. In fact, the dimensions of the various features may be arbitrarily increased or reduced for clarity of discussion.

FIGS. 1-16 illustrate a method of forming a semiconductor device in accordance with some embodiments of the present disclosure; and

FIGS. 17-22 illustrate a method of forming a semiconductor device in accordance with some embodiments of the present disclosure.

DETAILED DESCRIPTION

The following disclosure provides many different embodiments, or examples, for implementing different features of the provided subject matter. Specific examples of components and arrangements are described below to simplify the present disclosure. These are, of course, merely examples and are not intended to be limiting. For example, the formation of a first feature over or on a second feature in the description that follows may include embodiments in which the first and second features are formed in direct contact, and may also include embodiments in which additional features may be formed between the first and second features, such that the first and second features may not be in direct contact. In addition, the present disclosure may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed.

Furthermore, spatially relative terms, such as “beneath,” “below,” “lower,” “above,” “upper” and the like, may be used herein for ease of description to describe one element or feature's relationship to another element(s) or feature(s) as illustrated in the figures. The spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. The apparatus may be otherwise oriented (rotated 90 degrees or at other orientations) and the spatially relative descriptors used herein may likewise be interpreted accordingly.

Gate all around (GAA) transistor structures may be patterned by any suitable method. For example, the structures may be patterned using one or more photolithography processes, including double-patterning or multi-patterning processes. Generally, double-patterning or multi-patterning processes combine photolithography and self-aligned processes, allowing patterns to be created that have, for example, pitches smaller than what is otherwise obtainable using a single, direct photolithography process. For example, in one embodiment, a sacrificial layer is formed over a substrate and patterned using a photolithography process. Spacers are formed alongside the patterned sacrificial layer using a self-aligned process. The sacrificial layer is then removed, and the remaining spacers may then be used to pattern the GAA structure.

FIGS. 1-16 illustrate a method of forming a semiconductor device in accordance with some embodiments of the present disclosure. Reference is made to FIG. 1. An epitaxial stack 104 is formed over the substrate 102. In some embodiments, the substrate 102 may be a semiconductor substrate such as a silicon substrate. In some embodiments, the substrate 102 may include various layers, including conductive or insulating layers formed on a semiconductor substrate. In some embodiments, different doping profiles (e.g., n wells, p wells) may be formed on the substrate 102 in device regions 102 a and 102 b designed for different device types (e.g., n-type field effect transistors (NFET), p-type field effect transistors (PFET)). The suitable doping may include ion implantation of dopants and/or diffusion processes. In some embodiments, the substrate 102 may also include other semiconductors such as germanium, silicon carbide (SiC), silicon germanium (SiGe), or diamond. In some embodiments, the substrate 102 may include a compound semiconductor and/or an alloy semiconductor. In some embodiments, the substrate 102 may optionally include an epitaxial layer (epi-layer), may be strained for performance enhancement, may include a silicon-on-insulator (SOI) structure, and/or have other suitable enhancement features.

The epitaxial stack 104 includes first epitaxial layers 106 of a first composition interposed by second epitaxial layers 108 of a second composition. The first and second composition can be different. In some embodiments, the first epitaxial layers 106 are SiGe and the second epitaxial layers 108 are silicon (Si). In some embodiments, the first epitaxial layers 106 and the second epitaxial layers 108 have different oxidation rates and/or etch selectivity. In some embodiments, the first epitaxial layers 106 include SiGe and the second epitaxial layers 108 include Si, and the Si oxidation rate of the second epitaxial layers 108 is less than the SiGe oxidation rate of the first epitaxial layers 106.

The second epitaxial layers 108 or portions thereof may form a channel region of a semiconductor device. In some embodiments, the second epitaxial layers 108 may be referred to as “nanowires” used to form a channel region of a semiconductor device such as a gate-all-around (GAA) transistor. These “nanowires” are also used to form portions of the source/drain features of the GAA transistor. As the term is used herein, “nanowires” refers to semiconductor layers that are cylindrical in shape as well as other configurations such as, bar-shaped. The use of the second epitaxial layers 108 to define a channel or channels of the semiconductor device is further provided below.

It is noted that four layers of each of the first epitaxial layers 106 and the second epitaxial layers 108 are illustrated in FIG. 1, and this is for illustrative purpose and not intended to be limiting beyond what is specifically recited in the claims. It can be appreciated that any number of epitaxial layers can be formed in the epitaxial stack 104; the number of layers depending on the desired number of channels regions for the GAA transistor. In some embodiments, the number of second epitaxial layers 108 is between two and ten.

In some embodiments, the first epitaxial layers 106 are substantially uniform in thickness. In some embodiments, the second epitaxial layers 108 are substantially uniform in thickness. As described in more detail below, the second epitaxial layers 108 may serve as channel region(s) for a subsequently-formed GAA transistor and its thickness chosen based on device performance considerations. The first epitaxial layers 106 may serve to define at least one gap distance between adjacent channel region(s) for a subsequently-formed GAA device and its thickness chosen based on device performance considerations.

In some embodiments, epitaxial growth of the layers of the epitaxial stack 104 may be performed by a molecular beam epitaxy (MBE) process, a metalorganic chemical vapor deposition (MOCVD) process, and/or other suitable epitaxial growth processes. In some embodiments, the epitaxially grown layers (e.g., the first epitaxial layers 106 and the second epitaxial layers 108) include the same material as the substrate 102. In some embodiments, the epitaxially grown layers (e.g., the first epitaxial layers 106 and the second epitaxial layers 108) include a different material than the substrate 102. As stated above, in at least some examples, the first epitaxial layers 106 include at least one epitaxially grown silicon germanium (SiGe) layer and the second epitaxial layers 108 include at least one epitaxially grown silicon (Si) layer. In some embodiments, either of the first epitaxial layers 106 and the second epitaxial layers 108 may include other materials such as germanium, a compound semiconductor such as silicon carbide, gallium arsenide, gallium phosphide, indium phosphide, indium arsenide, and/or indium antimonide, an alloy semiconductor such as SiGe, GaAsP, AlInAs, AlGaAs, InGaAs, GaInP, and/or GaInAsP, or combinations thereof. As discussed, the materials of the first epitaxial layers 106 and the second epitaxial layers 108 may be chosen based on providing differing oxidation and/or different etch selectivity properties. In some embodiments, the first epitaxial layers 106 and the second epitaxial layers 108 are substantially dopant-free where for example, no intentional doping is performed during the epitaxial growth process.

Reference is made to FIGS. 2A, 2B, and 2C, wherein FIGS. 2B and 2C are cross-sectional views taken along lines 2B and 2C in FIG. 2A. Fin elements 112 extending from the substrate 102 are formed. In some embodiments, each of the fin elements 112 includes a substrate portion formed from the substrate 102, and portions of each of the epitaxial layers of the epitaxial stack 104 including the first epitaxial layers 106 and the second epitaxial layers 108.

In some embodiments, the fin elements 112 may be fabricated using suitable processes including photolithography and etch processes. The photolithography process may include forming a photoresist layer over the substrate 102 (e.g., over the epitaxial stack 104), exposing the resist to a pattern, performing post-exposure bake processes, and developing the resist to form a masking element including the resist. In some embodiments, pattering the resist to form the masking element may be performed using an electron beam (e-beam) lithography process. The masking element may then be used to protect regions of the epitaxial stack 104, while an etch process forms trenches 114 in unprotected regions through the masking element, thereby leaving the plurality of the extending fin elements 112. In some embodiments, the trenches 114 may be etched using a dry etch (e.g., reactive ion etching), a wet etch, and/or other suitable processes.

Reference is made to FIGS. 3A, 3B, and 3C, wherein FIGS. 3B and 3C are cross-sectional views taken along lines 3B and 3C in FIG. 3A. The trenches 114 are filled with dielectric material to form isolation features 116. The isolation features 116 can be referred to as shallow trench isolation (STI) features interposing the fin elements 112. In some embodiments, the isolation features 116 may include SiO2, Si₃N₄, SiO_(x)N_(y), fluorine-doped silicate glass (FSG), a low-k dielectric, combinations thereof, and/or other suitable materials. In some embodiments, the isolation features 116 may be deposited by a CVD process, a subatmospheric CVD (SACVD) process, a flowable CVD process, an ALD process, a PVD process, and/or other suitable process. In some embodiments, after deposition of the isolation features 116, an annealing process can be performed, for example, to improve the quality of the isolation features 116. In some embodiments, the isolation features 116 may include a multi-layer structure, for example, having one or more liner layers.

In some embodiments in which forming the STI features, after deposition of the isolation features 116, the deposited dielectric material is thinned and planarized by a chemical mechanical polishing (CMP) process. The CMP process may planarize top surfaces of the isolation features 116. In some embodiments, the STI features interposing the fin elements 112 are recessed, such that the fin elements 112 extend above the isolation features 116. In some embodiments, the recessing may include a dry etching process, a wet etching process, and/or a combination thereof. In some embodiments, a recessing depth is controlled (e.g., by controlling an etching time) so as to result in a desired height of the exposed upper portion of the fin elements 112, and the height exposes each of the layers of the epitaxial stack 104.

Numerous other embodiments of methods to form fin elements 112 on the substrate 102 may also be used including, for example, defining the fin region (e.g., by mask or isolation regions) and epitaxially growing the epitaxial stack 104 in the form of the fin elements 112. In some embodiments, forming the fin elements 112 may include a trim process to decrease the width of the fins, and the trim process may include wet or dry etching processes.

Reference is made to FIGS. 4A, 4B, 4C, and 4D, wherein FIGS. 4B, 4C, and 4D are cross-sectional views taken along lines 4B, 4C, and 4D in FIG. 4A. A gate stack 118 is formed. In some embodiments, the gate stack 118 is a dummy gate stack. That is, in some embodiments using a gate-last process, the gate stack 118 is a dummy gate stack and will be replaced by the final gate stack at a subsequent step. In some embodiments, the gate stack 118 may be replaced at a later step by a high-k dielectric layer and a metal gate electrode. In some embodiments, the gate stack 118 is formed over the substrate 102 and is at least partially disposed over the fin elements 112. Portions of the fin elements 112 underlying the gate stack 118 may be referred to as the channel regions or channels of GAA transistors. The gate stack 118 may also define source/drain regions of GAA transistors. In some embodiments, regions of the epitaxial stack 104 which are adjacent to the channel region and on opposite sides of the channel region may be referred to as the source/drain regions.

In some embodiments, the gate stack 118 includes one or more hard mask layers (e.g., oxide, nitride). In some embodiments, the gate stack 118 is formed by various process steps such as layer deposition, patterning, etching, as well as other suitable processing steps. Exemplary layer deposition processes includes CVD (including both low-pressure CVD and plasma-enhanced CVD), PVD, ALD, thermal oxidation, e-beam evaporation, or other suitable deposition techniques, or combinations thereof. In some embodiments, the patterning process for forming the gate stack 118 includes a lithography process (e.g., photolithography or e-beam lithography) which may further include photoresist coating (e.g., spin-on coating), soft baking, mask aligning, exposure, post-exposure baking, photoresist developing, rinsing, drying (e.g., spin-drying and/or hard baking), other suitable lithography techniques, and/or combinations thereof. In some embodiments, the etching process may include dry etching (e.g., RIE etching), wet etching, and/or other etching methods.

As indicated above, the gate stack 118 may include an additional gate dielectric layer. In some embodiments, the gate stack 118 may include silicon oxide. In some embodiments, the additional gate dielectric layer of the gate stack 118 may include silicon nitride, a high-k dielectric material or other suitable material. In some embodiments, an electrode layer of the gate stack 118 may include polycrystalline silicon (polysilicon). In some embodiments, hard mask layers such as SiO₂, Si₃N₄, SiO_(x)N_(y), alternatively include SiC, and/or other suitable compositions may also be included.

Reference is made to FIGS. 5A, 5B, 5C, and 5D, wherein FIGS. 5B, 5C, and 5D are cross-sectional views taken along lines 5B, SC, and 5D in FIG. 5A. A spacer layer 120 is blanket formed over the substrate 102. The spacer layer 120 may include a dielectric material such as SiO₂, Si₃N₄, SiO_(x)N_(V), SiC, SiCN films, SiOc, SiOCN films, and/or combinations thereof. In some embodiments, the spacer layer 120 includes multiple layers, such as main spacer walls, liner layers, and the like. In some embodiments, the spacer layer 120 may be formed by depositing a dielectric material over the gate stack 118 using processes such as, CVD process, a subatmospheric CVD (SACVD) process, a flowable CVD process, an ALD process, a PVD process, or other suitable process.

Reference is made to FIGS. 6A, 6B, 6C, and 6D, wherein FIGS. 6B, 6C, and 6D are cross-sectional views taken along lines 6B, 6C, and 6D in FIG. 6A. An etching-back process is performed to remove horizontal portions of the spacer layer 120, while remaining vertical portions of the spacer layer 120 on sidewalls of the gate stack 118 to act as spacers 125. That is, after the formation of the spacer layer 120, the spacer layer 120 may be etched-back to expose portions of the fin elements 112 adjacent to and not covered by the gate stack 118 (e.g., source/drain regions), and spacers 125 remain on the opposite sidewalls of the gate stack 118. In some embodiments, the etching-back process of the spacer layer 120 may include a wet etch process, a dry etch process, a multiple-step etch process, and/or a combination thereof. The spacer layer 120 may be removed from a top surface of the exposed epitaxial stack 104 and lateral surfaces of the exposed epitaxial stack 104, and the spacer layer 120 may be removed from a top surface of the gate stack 118. In some embodiments, the first epitaxial layers 106 and the second epitaxial layers 108 abut the sidewalls of the gate stack 118.

Reference is made to FIGS. 7A, 7B, 7C, and 7D, wherein FIGS. 7B, 7C, and 7D are cross-sectional views taken along lines 7B, 7C, and 7D in FIG. 7A. An oxidation process is performed. The oxidation process may be referred to as a selective oxidation as due to the varying oxidation rates of the layers of the epitaxial stack 104, and thus certain layers are oxidized. In some embodiments, the oxidation process may be performed by exposing the semiconductor device to a wet oxidation process, a dry oxidation process, or a combination thereof. In some embodiments, the epitaxial stack 104 exposed to a wet oxidation process using water vapor or steam as the oxidant, at a pressure of about 1 ATM, within a temperature range of about 400-600° C., and for a time from about 0.5-2 hours. It is noted that the oxidation process conditions provided herein are merely exemplary, and are not meant to be limiting. In some embodiments, this oxidation process may extend such that the oxidized portion of the epitaxial layer(s) of the epitaxial stack 104 abuts the sidewall of the gate stack 118.

During the oxidation process, the first epitaxial layers 106 of the fin elements 112 are fully oxidized, and thus the first epitaxial layers 106 transform into an oxidized layers 122. The oxidized layers 122 extend to the gate stack 118, including, under the spacers 125. In some embodiments, the oxidized layers 122 extend to abut the sidewalls of the gate stack 118. In some embodiments, the oxidized layers 122 may include an oxide of silicon germanium (SiGeO_(x)).

By way of example, in some embodiments where the first epitaxial layers 106 include SiGe, and where the second epitaxial layers 108 includes Si, the faster SiGe oxidation rate (i.e., as compared to Si) ensures that the SiGe of the first epitaxial layers 106 become fully oxidized while minimizing or eliminating the oxidization of the second epitaxial layers 108. It will be understood that any of the plurality of materials discussed above may be selected for each of the epitaxial layers that provide different suitable oxidation rates.

Reference is made to FIGS. 8A, 8B, 8C, and 8D, wherein FIGS. 8B, 8C, and 8D are cross-sectional views taken along lines 8B, 8C, and 8D in FIG. 8A. A selective etching process is performed. In some embodiments, the selective etching may etch the oxidized layers 122 (see FIG. 7A). In some embodiments, the oxidized layers 122 are removed from the source/drain regions (e.g., the regions of the fin elements 112 adjacent the channel regions underlying the gate stack 118). Portions of the oxidized layer 122 directly underlying the spacers 125 adjacent the gate stack 118 remain on the substrate 102 (e.g., during the etching process the spacers 125 act as masking elements). Removal of the oxidized layers 122 create gaps 124 in the places of removed portions of the oxidized layers 122, while portions 122A of the oxidized layer 122 (e.g., SiGeO) remain on the substrate 102. The gaps 124 may be filled with the ambient environment (e.g., air, N₂). In some embodiments, portions of the oxidized layers 122 are removed by a selective wet etching process.

Reference is made to FIGS. 9A, 9B, 9C, and 9D, wherein FIGS. 9B, 9C, and 9D are cross-sectional views taken along lines 9B, 9C, and 9D in FIG. 9A. First epitaxial source/drain features 126 and second epitaxial source/drain features 128 are grown from the source/drain regions which are adjacent to the channel regions and on opposite sides of the channel regions. In some embodiments, growths of the first epitaxial source/drain features 126 and the second epitaxial source/drain features 128 includes growing one or more epitaxial materials. That is, the epitaxial material of the first epitaxial source/drain features 126 is grown on the second epitaxial layers 108 over the region 102 a, and the epitaxial material is also grown within the gaps 124 over the 102 a. Similarly, the epitaxial material of the second epitaxial source/drain features 128 is grown on the second epitaxial layers 108 over the region 102 b, and the epitaxial material is also grown within the gaps 124 over the region 102 b. The first epitaxial source/drain features 126 and the second epitaxial source/drain features 128 abut the oxidize portions 122A and/or the spacers 125. Thus, the oxidized portions 122A are interposed between the first epitaxial source/drain features 126 (or the second epitaxial source/drain features 128) and the gate stack 118.

In some embodiments, the growth of the first epitaxial source/drain features 126 and the growth of the second epitaxial source/drain features 128 are performed in different steps. For example, the first epitaxial source/drain features 126 can be grown prior to the growth of the second epitaxial source/drain features 128, and during the growth of the first epitaxial source/drain features 126, the epitaxy layers 108 over the region 102 b can be protected using a suitable mask (not shown). The first and second epitaxial source/drain features 126 and 128 may be in-situ doped. The doping species include P-type dopants, such as boron or BF₂; N-type dopants, such as phosphorus or arsenic; and/or other suitable dopants including combinations thereof. If the epitaxial source/drain features are not in-situ doped, a second implantation process (i.e., a junction implant process) is performed to dope the epitaxial source/drain features. One or more annealing processes may be performed to activate the epitaxial source/drain features. The annealing processes include rapid thermal annealing (RTA) and/or laser annealing processes.

In some embodiments, the first epitaxial source/drain features 126 include a first semiconductor material, and the second epitaxial source/drain features 128 include a second semiconductor different than the first semiconductor material. If an n-type GAA transistor is to be formed on the region 102 a, the first epitaxial source/drain features 126 may be formed using one or more epitaxy processes, such that Si features, silicon phosphate (SiP) features, silicon carbide (SiC) features, and/or other suitable features suitable for serving as source/drain regions of the n-type device can be formed in a crystalline state from the epitaxial layers 108 over the region 102 a. In some embodiments, the lattice constants of the first epitaxial source/drain features 126 are different from the lattice constant of the fin elements 112, so that the channel regions of the fin elements 112 can be strained or stressed by the first epitaxial source/drain features 126 to improve carrier mobility of the semiconductor device and enhance the device performance. The epitaxy processes include CVD deposition techniques (e.g., vapor-phase epitaxy (VPE) and/or ultra-high vacuum CVD (UHV-CVD)), molecular beam epitaxy, and/or other suitable processes. The epitaxy process may use gaseous and/or liquid precursors, which interact with the composition of the second epitaxial layers 108 over the region 102 a. During this epitaxy process, a patterned mask (not shown) can be formed on the region 102 b of the substrate 102 in some embodiments.

If a p-type GAA transistor is to be formed on the region 102 b, the second epitaxial source/drain features 128 may be formed using one or more epitaxy processes, such that Si features, SiGe features, and/or other suitable features suitable for serving as source/drain regions of the p-type device can be formed in a crystalline state from the epitaxial layers 108 over the region 102 b. In some embodiments, the lattice constants of the second epitaxial source/drain features 128 are different from the lattice constant of the fin elements 112, so that the channel regions of the fin elements 112 can be strained or stressed by the second epitaxial source/drain features 128 to improve carrier mobility of the semiconductor device and enhance the device performance. The epitaxy processes include suitable deposition techniques as stated above. The epitaxy process may use gaseous and/or liquid precursors, which interact with the composition of the second epitaxial layers 108 over the region 102 b. During this epitaxy process, a patterned mask (not shown) can be formed on the region 102 a of the substrate 102 in some embodiments.

Reference is made to FIGS. 10A, 10B, 10C, and 10D, wherein FIGS. 10B, 10C, and 10D are cross-sectional views taken along lines 10B, 10C, and 10D in FIG. 10A. An inter-layer dielectric (ILD) layer 130 is formed. In some embodiments, a contact etch stop layer (CESL) is also formed over the substrate 102 prior to forming the ILD layer 130. In some embodiments, the CESL includes a silicon nitride layer, silicon oxide layer, a silicon oxynitride layer, and/or other materials. The CESL may be formed by plasma-enhanced chemical vapor deposition (PECVD) process and/or other suitable deposition or oxidation processes. In some embodiments, the ILD layer 130 includes materials such as tetraethylorthosilicate (TEOS) oxide, un-doped silicate glass, or doped silicon oxide such as borophosphosilicate glass (BPSG), fused silica glass (FSG), phosphosilicate glass (PSG), boron doped silicon glass (BSG), and/or other suitable dielectric materials. The ILD layer 130 may be deposited by a PECVD process or other suitable deposition technique. In some embodiments, after depositing the ILD layer 130 (and/or CESL or other dielectric layers), a planarization process may be performed to expose a top surface of the gate stack 118. For example, a planarization process includes a chemical mechanical polishing (CMP) process which removes portions of the ILD layer 130 (and CESL layer, if present) overlying the gate stack 118.

Reference is made to FIGS. 11A, 11B, 11C, and 11D. wherein FIGS. 11B, 11C, and 11D are cross-sectional views taken along lines 11B, 11C, and 11D in FIG. 11A. The gate stack 118 (see FIG. 10A) is removed by a suitable etching process to form a gate trench 132 therein. The first epitaxial layers 106 (see FIG. 10C) in the channel region of the semiconductor device are selectively removed. In some embodiments, the first epitaxial layers 106 are removed by a selective wet etching process. In some embodiments, the selective wet etching includes HF. In some embodiments, the first epitaxial layers 106 are SiGe and the second epitaxial layers 108 are silicon allowing for the selective removal of the SiGe of the first epitaxial layers 106. It is noted that during the removal of the first epitaxial layers 106, gaps are provided between the adjacent nanowires in the channel region (e.g., gaps between second epitaxial layers 108). The gaps may be filled with the ambient environment conditions (e.g., air, nitrogen, etc).

After the removal of the first epitaxial layers 106, the second epitaxial layers 108 in the gate trench 132 are referred to as a plurality of the nanowires in the channel region. In some embodiments, the second epitaxial layers 108 in the gate trench 132 and over the region 102 a can be referred to as first nanowires 108A used for the n-type GAA transistor, and the second epitaxial layers 108 in the gate trench 132 and over the region 102 b can be referred to as second nanowires 108B used for the p-type GAA transistor.

FIGS. 12-14A illustrate exemplary steps of forming a gate stack in the gate trench 132. As shown in FIG. 12, a high-k dielectric layer 220 and a first high-k dielectric sheath layer 230 are in sequence formed in the gate trench 132 using one or more deposition processes. Thereafter, a mask 240 is formed over the first high-k dielectric sheath layer 230 and patterned such that the device region 102 a is masked while the device region 102 b is exposed, as shown in FIG. 13. Afterwards, an exposed portion of the first high-k dielectric sheath layer 230 over the device region 102 b is removed using an etching process, while a masked portion of the first high-k dielectric sheath layer 230 over the device region 102 a remains. Next, a second high-k dielectric sheath layer 250 is formed over the device region 102 b using a suitable deposition process, and the patterned mask 240 over the device region 102 a is then removed. Thereafter, a metal layer 260 is formed using a suitable deposition process to fill the gate trench 132, and a planarization process, such as CMP, is performed to remove excess materials outside the gate trench 132, and the resulting structure is shown in FIGS. 14A and 14B, wherein FIG. 14B is a cross-sectional view taken along lines 14B in FIG. 14A.

In some embodiments, the high-k dielectric layer 220 includes HfO₂, ZrO₂, La₂O₃, Al₂O₃, TiO₂, SrTiO₃, Y₂O₃, the like, or combinations thereof. In some embodiments, the first high-k dielectric sheath layer 230 includes Y₂O₃, Lu₂O₃, La₂O₃, SrO, the like, or combinations thereof. In some embodiments, the second high-k dielectric sheath layer 250 includes Al₂O₃, TiO₂, ZrO₂, MgO, the like, or combinations thereof. The formation methods of these dielectric layers may include, for example, molecular beam deposition (MBD), ALD, PECVD, and the like.

In some embodiments, the metal layer 260 includes tungsten (W), cobalt (Co), ruthenium (Ru), aluminum (Al), the like, or combinations thereof. Formation of the metal layer 260 may include, for example, MBD, ALD, PECVD, and the like. In some embodiments, first interfacial layers 210 a may be respectively formed around the first nanowires 108A before formation of the high-k dielectric layer 220, and second interfacial layers 210 b may be respectively formed around the second nanowires 108B before formation of the high-k dielectric layer 220. The first and second interfacial layers 210 a and 210 b may include SiO₂,SiON, Y-doped SiO₂, Si_(x)Ge_(y)O_(z), GeO₂, SiHfO, SiHfON, the like, or combinations thereof. Additional layers, such as, an additional interfacial dielectric cap layer, may also be deposited (e.g., between the interfacial layer 210 a (or 210 b) and the high-k dielectric layer 220).

As illustrated in FIGS. 14A and 14B, portions of the high-k dielectric layer 220 respectively surround the first interfacial layers 210 a and can be referred to as first high-k dielectric linings 220 a, and other portions of the high-k dielectric layer 220 respectively surround the second interfacial layers 210 b and can be referred to as second high-k dielectric linings 220 b. Portions of the first high-k dielectric sheath layers 230 respectively surround the first high-k dielectric linings 220 a and can be referred to as first high-k dielectric sheaths 230 a, and portions of the second high-k dielectric sheath layers 250 respectively surround the second high-k dielectric linings 220 b and can be referred to as second high-k dielectric sheaths 250 b. A portion of the metal layer 260 surrounds the first high-k dielectric sheaths 230 a and can be referred to as a first metal gate electrode 260 a, and a portion of the metal layer 260 surrounds the second high-k dielectric sheaths 250 b and can be referred to as a second metal gate electrode 260 b.

The first interfacial layers 210 a, first high-k dielectric linings 220 a, first high-k dielectric sheaths 230 a, and first metal gate electrode 260 a can be in combination serve as a first gate stack GS1 for the first nanowires 108A. The second interfacial layers 210 b, second high-k dielectric linings 220 b, second high-k dielectric sheaths 250 b, and second metal gate electrode 260 b can be in combination serve as a second gate stack GS2 for the second nanowires 108B.

In some embodiments, the first and second high-k dielectric sheaths 230 a and 250 b include different materials used to adjust the work function of first and second gate stacks GS1 and GS2 to a desired value based on device design. For example, if the first gate stack GS1, the first epitaxial source/drain features 126 and the first nanowires 108A form an n-type GAA transistor T1, the first high-k dielectric sheaths 230 a can include a material used to adjust the work function of the first gate stack GS1 suitable for the n-type device. The material of the first high-k dielectric sheaths 230 a suitable for the n-type device may be, for example, Y₂O₃, Lu₂O₃, La₂O₃, SrO, Er, Sc, or combinations thereof. On the contrary, if the second gate stack GS2, the second epitaxial source/drain features 128 and the second nanowires 108B form a p-type GAA transistor T2, the second high-k dielectric sheaths 250 b can include a material used to adjust the work function of the second gate stack GS2 suitable for the p-type device. The material of the second high-k dielectric sheaths 250 b suitable for the p-type device may be, for example, Al₂O₃, TiO₂, ZrO₂, MgO, or combinations thereof. In some embodiments, the first high-k dielectric sheaths 230 a are made of La₂O₃, and the second high-k dielectric sheaths 250 b is made of Al₂O₃.

Because different work functions of the n-type and p-type GAA transistors T1 and T2 can be achieved by different materials of the first and second high-k dielectric sheaths 230 a and 250 b, the first and second metal gate electrodes 260 a and 260 b can be made of the same material in some embodiments. For example, the metal layer 260 may be a single metal layer having a single metal material, and the first and second metal gate electrodes 260 a and 260 b are made of the single metal material. In other words, a space between the first and second high-k dielectric sheaths 230 a and 250 b are filled with a single metal, such as tungsten (W), cobalt (Co), ruthenium (Ru), aluminum (Al) or the like. As a result, the metal layer 260 is a single-layered structure rather than a multi-layered structure, and hence deposition of the metal layer 260 can be eased.

In some embodiments, outer surfaces of the first and second high-k dielectric sheaths 230 a and 250 b are respectively in contact with the first and second metal gate electrodes 260 a and 260 b, the first and second high-k dielectric linings 220 a and 220 b are in contact with inner surfaces of corresponding first and second high-k dielectric sheaths 230 a and 250 b. In some embodiments, the first high-k dielectric sheaths 230 a surrounding different nanowires 108A are merged, and the second high-k dielectric sheaths 250 b are merged, as illustrated in FIG. 14C. The merged first high-k dielectric sheaths 230 a and the merged second high-k dielectric sheaths 250 b can prevent metal from interposing neighboring nanowires, and parasitic capacitance can thus be reduced.

In some embodiments, the first and second interfacial layers 210 a and 210 b are made of the same material if they are formed in the same processing step. For example, the first and second interfacial layers 210 a and 210 b may be made of SiO₂,SiON, Y-doped SiO₂, GeO₂, SiHfO, SiHfON, the like, or combinations thereof. In some other embodiments, the first and second interfacial layers 210 a and 210 b are made of different materials. For example, the first interfacial layer 210 a may initially be formed, and a portion of the first interfacial layer 210 a over the device region 102 b is then removed using a suitable patterning process (e.g., a combination of photolithography and etching), and the second interfacial layer 210 b having a material different from the first interfacial layer 210 a is then formed over the device region 102 b.

In some embodiments, the first and second high-k dielectric linings 220 a and 220 b are made of the same material because they are formed from the same high-k dielectric layer 220. For example, the first and second high-k dielectric linings 220 aand 220 b includes HfO₂, ZrO₂, La₂O₃, Al₂O₃, TiO₂, SrTiO₃, Y₂O₃, the like, or combinations thereof. In some other embodiments, the first and second high-k dielectric linings 220 a and 220 b are made of different materials. The first and second high-k dielectric linings 220 a and 220 b having different materials can be formed using suitable deposition and patterning processes, as discussed above.

In some embodiments, after formation of the first and second high-k dielectric sheath layers 230 and 250 and before formation of the metal layer 260, a thermal treatment, such as annealing, can be performed to the first and second high-k dielectric sheath layers 230 and 250. The thermal treatment can drive materials of the first and second high-k dielectric sheath layers 230 and 250 to diffuse into corresponding portions of the high-k dielectric layer 220, and hence the first and second high-k dielectric sheath layers 230 and 250 can then be removed to enlarge the process window for depositing the metal layer 260.

Reference is made to FIG. 15. The ILD layer 130 (see FIG. 14A) is removed and silicide features 150 are formed. In some embodiments, the ILD layer 130 is removed by using an etching process, such as a wet etching process, a dry etching process, or a combination thereof. After the removal of the ILD layer 130, the first epitaxial source/drain features 126 and the second epitaxial source/drain features 128 are exposed, and the silicide features 150 are formed from the exposed first epitaxial source/drain features 126 and the exposed second epitaxial source/drain features 128. In some embodiments, formation of the silicide features 150 includes using a metal to form self-aligned silicide materials to the exposed first epitaxial source/drain features 126 and the exposed second epitaxial source/drain features 128. The metal includes Ti, Co, Ta, Nb, or combinations thereof. In some embodiments, the formation of the silicide features 150 involves using an anneal to form the silicide features 150 and then removing the unreacted metal.

Thereafter, another ILD layer 152 is formed over the substrate 102, contact holes are formed in the ILD layer 152 to expose the silicide features 150, and source/drain contacts 156 are formed in the contact holes to contact with the silicide features 150. The resulting structure is shown in FIG. 16. In some embodiments, the ILD layer 152 includes materials such as tetraethylorthosilicate (TEOS) oxide, un-doped silicate glass, or doped silicon oxide such as borophosphosilicate glass (BPSG), fused silica glass (FSG), phosphosilicate glass (PSG), boron doped silicon glass (BSG), and/or other suitable dielectric materials. The ILD layer 152 may be deposited by a PECVD process or other suitable deposition technique. In some embodiments, a contact etch stop layer (CESL) is also formed over the substrate 102 prior to forming the ILD layer 152. In some embodiments, the CESL includes a silicon nitride layer, silicon oxide layer, a silicon oxynitride layer, and/or other materials. The CESL may be formed by plasma-enhanced chemical vapor deposition (PECVD) process and/or other suitable deposition or oxidation processes. In some embodiments, after depositing the ILD layer 152 (and/or CESL or other dielectric layers), a planarization process may be performed to expose a top surface of the first and second gate stacks GSI and GS2. For example, a planarization process (e.g. CMP) can be performed to remove portions of the ILD layer 152 (and CESL layer, if present) overlying the gate stacks GS1 and GS2.

FIGS. 17-22 illustrate a method of forming a semiconductor device in accordance with some embodiments of the present disclosure. As shown in FIG. 17, first and second bottom source/drain regions 304 a and 304 b are formed over a substrate 302 with an isolation feature 308 (e.g. STI feature) separating the first and second bottom source/drain regions 304 a and 304 b. In some embodiments, the substrate 302 is a bulk silicon substrate, such as a silicon wafer. In some embodiments, the substrate 302 includes an elementary semiconductor, such as silicon or germanium in a crystalline structure; a compound semiconductor, such as silicon germanium, silicon carbide, gallium arsenic, gallium phosphide, indium phosphide, indium arsenide, and/or indium antimonide; or combinations thereof. In some embodiments, the substrate 302 includes a silicon-on-insulator (SOI) substrate. The SOI substrate is fabricated using separation by implantation of oxygen (SIMOX), wafer bonding, and/or other suitable methods.

First nanowires 310A are formed over the first bottom source/drain region 304 a, and the second nanowires 310B are formed over the second bottom source/drain region 306 b. Exemplary formation of the first and second nanowires 310A and 310B and the first and second bottom source/drain regions 304 a and 304 b includes forming a bottom semiconductor layer having the first and second bottom source/drain regions 304 a and 304 b disposed over device regions 302 a and 302 b, forming a middle semiconductor layer having channel regions 312 b and 312 b disposed over first and second bottom source/drain regions 304 a and 304 b, forming a top semiconductor layer having first and second top source/drain regions 314 a and 314 b disposed over channel regions 312 b and 312 b, and patterning the stack of bottom, middle and top semiconductor layers to form the first and second nanowires 310A and 320B.

In some embodiments, the patterning of stack of bottom, middle and top semiconductor layers may be done using a combination of photolithography and etching. For example, a hard mask and/or photoresist (not illustrated) may be disposed over the stack. The hard mask may comprise one or more oxide (e.g., silicon oxide) and/or nitride (e.g., silicon nitride) layers to prevent damage to the underlying semiconductor layers during patterning, and the hard mask may be formed using any suitable deposition process, such as, atomic layer deposition (ALD), CVD, high density plasma CVD (HDP-CVD), physical vapor deposition (PVD), and the like. The photoresist may comprise any suitable photosensitive material blanket deposited using a suitable process, such as, spin on coating, and the like. In some embodiments, the bottom, middle and top semiconductor layers may be formed using metal-organic (MO) chemical vapor deposition (CVD), molecular beam epitaxy (MBE), liquid phase epitaxy (LPE), vapor phase epitaxy (VPE), selective epitaxial growth (SEG), combinations thereof, and the like.

The first bottom and top source/drain regions 304 a and 314 a in the device region 302 a may be doped with a n-type dopant (e.g., P, As, Si, Ge, C, O, S, Se, Te, Sb, combinations thereof, and the like) at a suitable concentration (e.g, about 1×10¹⁸ atoms cm⁻³ to about 1×10²² atoms cm⁻³). Suitable materials for the first bottom and top source/drain regions 304 a and 314 a (e.g., n-type epitaxy materials) may include Si, SiP, SiPC, Ge, GeP, a III-V material (e.g., InP, GaAs, AlAs, InAs, InAlAs, InGaAs, and the like), combinations thereof, and the like. In other embodiments, the first bottom and top source/drain regions 304 a and 314 a may comprise a different material, different dopants, and/or a different doping concentration depending on device design.

The second bottom and top channel regions 304 b and 314 b in the device region 302 b may be doped with a p-type dopant (e.g., B, BF₂, Si, Ge, C, Zn, Cd, Be, Mg, In, combinations thereof, and the like) at a suitable concentration (e.g, about 1×10¹⁸ atoms/cm² to about 1×10²² atoms/cm²). Suitable epitaxy materials for the second bottom and top channel regions 304 b and 314 b (e.g., p-type epitaxy materials) may include Si, SiGe, SiGeB, Ge, GeB, a III-V material (e.g., InSb, GaSb, InGaSb, and the like), combinations thereof, and the like. In other embodiments, the second bottom and top channel regions 304 b and 314 b may comprise a different material, different dopants, and/or a different doping concentration depending on device design.

The channel region 312 a in device region 302 a and the channel region 312 b in device region 302 b may be doped with either n-type or p-type dopants depending on device design. For example, for accumulation mode devices, the channel region 312 a may be doped with n-type dopants (e.g., P, As, Si, Ge, C, O, S, Se, Te, Sb, combinations thereof, and the like) while the channel region 312 b may be doped with p-type dopants (e.g., B, BF₂, Si, Ge, C, Zn, Cd, Be, Mg, In, combinations thereof, and the like). As another example, for inversion mode devices, the channel region 312 a may be doped with p-type dopants (e.g., B, BF₂, Si, Ge, C, Zn, Cd, Be, Mg, In, combinations thereof, and the like) while the channel region 312 b may be doped with n-type dopants (e.g., P, As, Si, Ge, C, O, S, Se, Te, Sb, combinations thereof, and the like). In some embodiments, a dopant concentration of channel regions 312 a and 312 b may be about 1×10¹² atoms cm⁻³ to about 1×10¹⁸ atoms cm⁻³, for example. Suitable materials for channel regions 312 a and 312 b may include Si, SiP, SiPC, SiGe, SiGeB, Ge, GeB, GeP, a III-V material (e.g., InP, GaAs, AlAs, InAs, InAlAs, InGaAs, InSb, GaSb, InGaSb, and the like), combinations thereof, and the like. The material of channel region 312 a and/or the channel region 312 b may depend on the desired type of the respective region. In other embodiments, channel regions 312 a and 312 b may comprise a different material, different dopants, and/or a different doping concentration depending on device design.

After formation the nanowires, a contact etch stop layer (CESL) 320 is blanket formed over the substrate 302. Next, a dielectric layer 330 is formed over the CESL 320. Thereafter, upper portions of the CESL 320, and upper portions of the dielectric layer 330 are removed using wet and/or dry etching processes to expose sidewalls of the first and second channel regions 312 a and 314 a.

In some embodiments, the CESL 320 comprises a material that can be selectively etched from a material of the dielectric layer 330. For example, in some embodiment where the dielectric layer 330 comprises an oxide, the CESL 320 may comprise SiN, SiC, SiCN, and the like. The CESL 320 may be deposited using a conformal process, such as CVD, plasma enhanced CVD, PECVD, PVD, and the like.

The dielectric layer 330 may comprise a low-k dielectric having a k-value less than about 3.9, such as about 2.8 or even less. In some embodiments, the dielectric layer 330 comprises a flowable oxide formed using, for example, flowable chemical vapor deposition (FCVD). The dielectric layer 330 may fill the space between adjacent nanowires (e.g., nanowires 310A and 310B in FIG. 17).

Reference is made to FIG. 18. A high-k gate dielectric layer 350 and a first-high-k dielectric sheath layer 360 are in sequence formed over the substrate 302. In some embodiments, the high-k dielectric layer 350 includes HfO₂, ZrO₂, La₂O₃, Al₂O₃, TiO₂, SrTiO₃, Y₂O₃, the like, or combinations thereof. In some embodiments, the first high-k dielectric sheath layer 360 includes Y₂O₃, Lu₂O₃, La₂O₃, SrO, the like, or combinations thereof. The formation methods of high-k dielectric layer 350 and the first-high-k dielectric sheath layer 360 may include, for example, molecular beam deposition (MBD), ALD, PECVD, and the like.

In some embodiments, before formation of the high-k layers, first interfacial layers 340 a are respectively formed around the first nanowires 310A using suitable techniques, such as thermal oxidation. Similarly, before formation of the high-k layers, second interfacial layers 340 b are respectively formed around the second nanowires 320A using suitable techniques, such as thermal oxidation.

Thereafter, a portion of the first high-k dielectric sheath layer 360 over the device region 302 b is removed using a suitable patterning process (e.g., a combination of photolithography and etching), and a second high-k dielectric sheath layer 370 is then formed over the device region 302 b. The resulting structure is shown in FIG. 19. In some embodiments, the second high-k dielectric sheath layer 370 includes Al₂O₃, TiO₂, ZrO₂, MgO, the like, or combinations thereof. The formation method of the second high-k dielectric sheath layer 370 may include, for example, molecular beam deposition (MBD), ALD, PECVD, and the like.

Next, as shown in FIG. 20, a metal layer 380 is formed over the substrate 302 to surround the first and second nanowires 310A and 310B. In some embodiments, the metal layer 380 includes tungsten (W), cobalt (Co), ruthenium (Ru), aluminum (Al), the like, or combinations thereof. Formation of the metal layer 380 may include, for example, MBD, ALD, PECVD, and the like. Thereafter, the metal layer 380 is etched back to expose the first and second top source/drain regions 314 a and 314 b, and the resulting structure is shown in FIG. 21. In the resulting structure, the metal layer 380 may not share any interface with the top and bottom source/drain regions 304 a/304 b/314 a/314 b (e.g., top and bottom source/drain regions). After the etching back, an ILD layer (not shown) can be formed to cover the exposed top source/drain regions 314 a and 314 b.

FIG. 22 is an enlarged view of FIG. 21. As illustrated, portions of the high-k dielectric layer 350 respectively surround the first interfacial layers 340 a and can be referred to as first high-k dielectric linings 350 a, and other portions of the high-k dielectric layer 350 respectively surround the second interfacial layers 340 b and can be referred to as second high-k dielectric linings 350 b. Portions of the first high-k dielectric sheath layers 360 respectively surround the first high-k dielectric linings 350 a and can be referred to as first high-k dielectric sheaths 360 a, and portions of the second high-k dielectric sheath layers 370 respectively surround the second high-k dielectric linings 350 b and can be referred to as second high-k dielectric sheaths 370 b. A portion of the metal layer 380 surrounds the first high-k dielectric sheaths 360 a and can be referred to as a first metal gate electrode 380 a, and a portion of the metal layer 380 surrounds the second high-k dielectric sheaths 370 b and can be referred to as a second metal gate electrode 380 b.

The first interfacial layers 340 a, first high-k dielectric linings 350 a, first high-k dielectric sheaths 360 a, and first metal gate electrode 380 a can be in combination serve as a first gate stack GS3 for the channel regions 312 a of the first nanowires 310A. The second interfacial layers 340 b, second high-k dielectric linings 350 b, second high-k dielectric sheaths 370 b, and second metal gate electrode 380 b can be in combination serve as a second gate stack GS4 for the channel regions 312 b of the second nanowires 310B.

In some embodiments, the first and second high-k dielectric sheaths 360 a and 370 b include different materials used to adjust the work function of first and second gate stacks GS3 and GS4 to a desired value based on device design. For example, if the first gate stack GS3, the first nanowires 310A and the first bottom source/drain region 304 a form an n-type GAA transistor T3, the first high-k dielectric sheaths 360 a can include a material used to adjust the work function of the first gate stack GS3 suitable for the n-type device. The material of the first high-k dielectric sheaths 360 a suitable for the n-type device may be, for example, Y₂O₃, Lu₂O₃, La₂O₃, SrO, Er, Sc, or combinations thereof. On the contrary, if the second gate stack GS4, the second nanowires 310B and the second bottom source/drain region 304 b form a p-type GAA transistor T4, the second high-k dielectric sheaths 370 can include a material used to adjust the work function of the second gate stack GS4 suitable for the p-type device. The material of the second high-k dielectric sheaths 370 b suitable for the p-type device may be, for example, Al₂O₃, TiO₂, ZrO₂, MgO, or combinations thereof. In some embodiments, the first high-k dielectric sheaths 360 a are made of La₂O₃, and the second high-k dielectric sheaths 370 b is made of Al₂O₃.

Based on the above discussions, it can be seen that the present disclosure offers advantages. It is understood, however, that other embodiments may offer additional advantages, and not all advantages are necessarily disclosed herein, and that no particular advantage is required for all embodiments. One advantage is that a single metal layer can be used as a gate electrode of a GAA transistor, and hence deposition of the gate electrode can be eased compared to multi-layered gate electrode. Another advantage is that different high-k dielectric sheaths are respectively used for n-type and p-type GAA transistors, and different work functions of gate stacks of the n-type and p-type GAA transistors can be achieved. Yet another advantage is that the high-k dielectric sheaths around the neighboring nanowires can be merged, and hence no metal interposes neighboring nanowires. This may be beneficial for reducing parasitic capacitance.

According to various embodiments of the present disclosure, a semiconductor device includes first nanostructures over a substrate, a first source/drain feature adjoining the first nanostructures, and a first multilayer work function structure surrounding the first nanostructures. The first multilayer work function structure includes a first middle dielectric layer around the first nanostructures and a first metal layer around and in contact with the first middle dielectric layer. The semiconductor device also includes second nanostructures over the substrate and a second source/drain feature adjoining the second nanostructures, and a second multilayer work function structure surrounding the second nanostructures. The second multilayer work function structure includes a second middle dielectric layer around the second nanostructures and a second metal layer around and in contact with the second middle dielectric layer. The first middle dielectric layer and the second middle dielectric layer are made of dielectric materials. The second metal layer and the first metal layer are made of a same metal material.

According to various embodiments of the present disclosure, a semiconductor device includes first nanostructures in a first region of a substrate, second nanostructures in a second region of the substrate, and a multilayer work function structure over the first nanostructures and the second nanostructures. The multilayer work function structure includes a first inner dielectric layer around the first nanostructures, a first middle dielectric layer around the first inner dielectric layer, a second inner dielectric layer around the second nanostructures, a second middle dielectric layer around the second inner dielectric layer, and a metal layer continuously extend across the first middle dielectric layer and the second middle dielectric layer.

According to various embodiments of the present disclosure, a method including steps includes alternatingly stacking first epitaxial layers and second epitaxial layers over a substrate, patterning the first epitaxial layers and second epitaxial layers to form a first fin element in a first region of the substrate and a second fin element in a second region of the substrate, removing the second epitaxial layers of the first fin element and the second epitaxial layers of the second fin element thereby forming first nanostructures from the first epitaxial layers of the first fin element and second nanostructures from the first epitaxial layers of the second fin element, forming a first middle dielectric layer around the first nanostructures and the second nanostructures, removing a first portion of the first middle dielectric layer in the second region of the substrate thereby remaining a second portion of the first middle dielectric layer in the first region of the substrate, forming a second middle dielectric layer around the second nanostructures, and forming a metal layer over the second portion of the first middle dielectric layer and the second middle dielectric layer. The first middle dielectric layer and the second middle dielectric layer are made of different dielectric materials.

The foregoing outlines features of several embodiments so that those skilled in the art may better understand the aspects of the present disclosure. Those skilled in the art should appreciate that they may readily use the present disclosure as a basis for designing or modifying other processes and structures for carrying out the same purposes and/or achieving the same advantages of the embodiments introduced herein. Those skilled in the art should also realize that such equivalent constructions do not depart from the spirit and scope of the present disclosure, and that they may make various changes, substitutions, and alterations herein without departing from the spirit and scope of the present disclosure. 

What is claimed is:
 1. A semiconductor device, comprising: first nanostructures over a substrate; a first source/drain feature adjoining the first nanostructures; a first multilayer work function structure surrounding the first nanostructures, comprising: a first middle dielectric layer around the first nanostructures; and a first metal layer around and in contact with the first middle dielectric layer; second nanostructures over the substrate; a second source/drain feature adjoining the second nanostructures; and a second multilayer work function structure surrounding the second nanostructures, comprising: a second middle dielectric layer around the second nanostructures, wherein the first middle dielectric layer and the second middle dielectric layer are made of dielectric materials; and a second metal layer around and in contact with the second middle dielectric layer, wherein the second metal layer and the first metal layer are made of a same metal material.
 2. The semiconductor device as claimed in claim 1, wherein the first multilayer work function structure comprises: a first inner dielectric layer between the first nanostructures and the first middle dielectric layer, wherein the first inner dielectric layer is made of a different dielectric material than the first middle dielectric layer.
 3. The semiconductor device as claimed in claim 1, wherein the second multilayer work function structure comprises: a second inner dielectric layer between the second nanostructures and the second middle dielectric layer, wherein the second inner dielectric layer is made of a different dielectric material than the second middle dielectric layer.
 4. The semiconductor device as claimed in claim 1, wherein two portions of the first middle dielectric layer around adjacent two of the first nanostructures are in contact with each other.
 5. The semiconductor device as claimed in claim 1, further comprising: a first contact over the first source/drain feature; a second contact over the second/drain feature; and a gate spacer layer between the first multilayer work function structure and the first contact and between the second multilayer work function structure and the second contact, wherein the gate spacer layer is in contact with the first contact and the second contact.
 6. The semiconductor device as claimed in claim 5, wherein the first middle dielectric layer includes a first portion along the gate spacer layer and the second middle dielectric layer includes a second portion along the gate spacer layer, and wherein the first portion of the first middle dielectric layer is interfaced with the second portion of the second middle dielectric layer.
 7. The semiconductor device as claimed in claim 5, wherein a bottom surface of the first contact is located a lower position than a bottom surface of a lowermost one of the first nanostructures, and wherein a bottom surface of the second contact is located a lower position than a bottom surface of a lowermost one of the second nanostructures.
 8. The semiconductor device as claimed in claim 1, wherein the first nanostructures, the first source/drain feature and the first multilayer work function structure form an n-type transistor, and the second nanostructures, the second source/drain feature and the second multilayer work function structure form a p-type transistor.
 9. A semiconductor device, comprising: first nanostructures in a first region of a substrate; second nanostructures in a second region of the substrate; and a multilayer work function structure over the first nanostructures and the second nanostructures, the multilayer work function structure comprising: a first inner dielectric layer around the first nanostructures; a first middle dielectric layer around the first inner dielectric layer; a second inner dielectric layer around the second nanostructures; a second middle dielectric layer around the second inner dielectric layer; and a metal layer continuously extend across the first middle dielectric layer and the second middle dielectric layer.
 10. The semiconductor device as claimed in claim 9, wherein the first middle dielectric layer and the second middle dielectric layer are made of different materials.
 11. The semiconductor device as claimed in claim 10, wherein the first inner dielectric layer and the first middle dielectric layer are made of different materials.
 12. The semiconductor device as claimed in claim 11, wherein the second inner dielectric layer and the second middle dielectric layer are made of different materials.
 13. The semiconductor device as claimed in claim 9, further comprising: a first source/drain feature surrounding end portions of the first nanostructures; and a second source/drain feature surrounding end portions of the second nanostructures, wherein the first source/drain feature is an n-type epitaxial layer and the second source/drain feature is a p-type epitaxial layer.
 14. The semiconductor device as claimed in claim 13, further comprising: a first silicide feature covering a surface the first source/drain feature from a bottom of the first source/drain feature to a top of the first source/drain feature; a first contact over the first silicide feature; a second silicide feature covering a surface the second source/drain feature from a bottom of the second source/drain feature to a top of the second source/drain feature; and a second contact over the second silicide feature.
 15. The semiconductor device as claimed in claim 14, further comprising: a first fin element below the first nanostructures; a second fin element below the second nanostructures; an isolation feature surrounding the first fin element and the second fin element, wherein the first contact and the second contact land on the isolation feature.
 16. A method for forming a semiconductor device, comprising: alternatingly stacking first epitaxial layers and second epitaxial layers over a substrate; patterning the first epitaxial layers and second epitaxial layers to form a first fin element in a first region of the substrate and a second fin element in a second region of the substrate; removing the second epitaxial layers of the first fin element and the second epitaxial layers of the second fin element thereby forming first nanostructures from the first epitaxial layers of the first fin element and second nanostructures from the first epitaxial layers of the second fin element; forming a first middle dielectric layer around the first nanostructures and the second nanostructures; removing a first portion of the first middle dielectric layer in the second region of the substrate thereby remaining a second portion of the first middle dielectric layer in the first region of the substrate; forming a second middle dielectric layer around the second nanostructures, wherein the first middle dielectric layer and the second middle dielectric layer are made of different dielectric materials; and forming a metal layer over the second portion of the first middle dielectric layer and the second middle dielectric layer.
 17. The method for forming the semiconductor device as claimed in claim 16, further comprising: forming an inner dielectric layer around the first nanostructures and the second nanostructures before forming the first middle dielectric layer around the first nanostructures and the second nanostructures, wherein the first portion of the first middle dielectric layer is removed to expose the inner dielectric layer.
 18. The method for forming the semiconductor device as claimed in claim 16, wherein the first middle dielectric layer is formed to continuously extend from one of the first nanostructures to another one of the first nanostructures, and the second middle dielectric layer is formed to continuously extend from one of the second nanostructures to another one of the second nanostructures.
 19. The method for forming the semiconductor device as claimed in claim 16, further comprising: forming a first source/drain feature surrounding end portions of the first nano structures; forming a second source/drain feature surrounding end portions of the second nanostructures; forming a first silicide layer on a surface of the first source/drain feature from a bottom of the first source/drain feature to a top of the first source/drain feature; forming a second silicide layer on a surface of the second source/drain feature from a bottom of the second source/drain feature to a top of the second source/drain feature; forming a first contact over the first silicide layer; and forming a second contact over the second silicide layer.
 20. The method for forming the semiconductor device as claimed in claim 16, wherein the first middle dielectric layer is made of Y₂O₃, Lu₂O₃, La₂O₃, SrO, or combinations thereof and the second middle dielectric layer is made of Al₂O₃, TiO₂, ZrO₂, MgO, or combinations thereof. 